<?php
echo "<div id='content_wrapper'>
		<div id='side_bar'>
			this is a test
		</div>
		<div id='main_content'>";

foreach ($this->result as $i){
	$url_path = $this->url(array('controller'=>'product',
								 'action'=>'product-details',
								'id'=>$i['productid']),NULL,TRUE);
	echo "
			<div class='product'>
			<div class='productImage'><img src='http://content.etilize.com/images/100/".$i['productid'].".jpg'></div>
			<div class='descriptions'>
			<p class='description'>".'<a href="'.$url_path.'">'.$i['description']."</a></p>
			<p class='ldescription'>".$i['l_description']."</p>
			</div>
		  	</div>";

}
echo "</div></div>";